package com.springmvc.dao;

import com.springmvc.model.IncomeTable;
import com.springmvc.model.IncomeTableExample;
import com.springmvc.model.IncomeTableKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface IncomeTableMapper {
    int countByExample(IncomeTableExample example);

    int deleteByExample(IncomeTableExample example);

    int deleteByPrimaryKey(IncomeTableKey key);

    int insert(IncomeTable record);

    int insertSelective(IncomeTable record);

    List<IncomeTable> selectByExample(IncomeTableExample example);
    List<IncomeTable> queryByPage();

    IncomeTable selectByPrimaryKey(IncomeTableKey key);

    int updateByExampleSelective(@Param("record") IncomeTable record, @Param("example") IncomeTableExample example);

    int updateByExample(@Param("record") IncomeTable record, @Param("example") IncomeTableExample example);

    int updateByPrimaryKeySelective(IncomeTable record);

    int updateByPrimaryKey(IncomeTable record);
}